/* You can add global styles to this file, and also import other style files */
@import "./scss/brower";

@import "~font-awesome/css/font-awesome.css";
@import "./scss/colors.scss";

body {
    min-width: 1360px;
}

.my-cz {
    a {
        color: #4a92ff;
        margin-right: 5px;
    }
}

.my-tab-hed {
    font-size: 24px;
    font-family: Microsoft YaHei;
    font-weight: 400;
    color: rgba(51, 51, 51, 1);

    div {
        i {
            color: #4adcaa;
        }

        text-align: right;
    }
}

.ant-layout-header {
    padding: 0;
}

.icons-list {
    background: {
        color: rgba(255, 205, 210, 1);
    }
}

.breadcrumb {
    margin-bottom: 10px;

    a {
        width: 20px;
        height: 20px;
        display: inline-block;
        background: #fff;
        border-radius: 4px;
        line-height: 20px;
        text-align: center;
        position: relative;
        margin-right: 10px;

        &:before {
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            color: #f1f1f1;
            display: block;
            font-size: 30px;
            height: 30px;
            line-height: 25px;
        }

        &.prev {
            &:before {
                content: "‹";
            }
        }

        &.next {
            &:before {
                content: "›";
            }
        }

        &:hover {
            &:before {
                // color: rgba(255, 205, 210, 1);
                background: #293249;
            }
        }
    }
}

.model-header {
    border-top-right-radius: $radius-size;
    border-top-left-radius: $radius-size;

    .header-head {
        border-bottom: $border-line;
        border-top-right-radius: $radius-size;
        border-top-left-radius: $radius-size;
        background: $bg-color;
        line-height: 71px;

        .head-bark {
            cursor: pointer;
            text-align: center;
            font-size: $f-size;
            padding: 0 32px;

            i {
                color: $span-color;
                border-right: $border-line;
                font-size: $f-size + 3;
                padding-right: 32px;
            }
        }

        h3 {
            color: $title-color;
            padding-left: 24px;
        }
    }

    .model-body {
        background: $bg-color;
        margin: 10px 20px;
        padding: 20px;

        .account-table,
        .body-totel,
        .body-top {
            padding: 20px 29px;
        }

        .from-footer {
            button {
                margin-right: 5px;
            }
        }

        .model-btn {
            padding: 3px 10px;

            button {
                margin: 0 5px;
            }
        }
    }
}

.pannel-default {
    background: #fff;
    padding: 30px;
}

.body-left {
    overflow: hidden;
}

// 弹框样式变更
.my-modal-c {
    .ant-modal-header {
        background: #3171b7;
        text-align: center;

        .ant-modal-title {
            color: #fff;
        }
    }
}

.tab-head {
    margin-bottom: 10px;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    display: flex;

    >button.ant-btn {
        border: none;
        border-radius: 15px;
        margin-right: 20px;
        margin-left: 0;

        &.noradius {
            border-radius: 3px;
        }
    }

    >.ant-input {
        border-radius: 15px;
        border-color: #fff;
        margin-right: 20px;
        margin-left: 0;
    }

    >div {
        padding-right: 15px;
        flex-grow: 0;

        &:last-child {
            flex-grow: 1;
            text-align: right;
            padding-right: 0;
        }

        label {
            margin-right: 8px;
        }

        .ant-btn {
            padding-left: 30px;
            padding-right: 30px;
        }
    }
}

.tab-title {
    font-size: 18px;
    color: #333;
    line-height: 30px;
    margin-bottom: 10px;

    a {
        float: right;
        font-size: 16px;
        padding-left: 25px;
        background-image: url(./assets/img/icon-add.png);
        background-repeat: no-repeat;
        background-position: left center;
        background-size: auto 18px;
        height: 30px;
        line-height: 30px;
        color: #333;

        &:hover {
            background: #293249;
        }
    }
}

.ant-layout {
    background: #f4f8fb;
}

nz-table.ant-table-wrapper.medical-table {
    &.small-table {
        .ant-table-tbody>tr>td {
            padding-top: 5px;
            padding-bottom: 5px;
        }
    }

    .ant-table {
        &.ant-table-small {
            border: none;

            >.ant-table-content {
                >.ant-table-body {
                    margin: 0;
                }

                .ant-table-thead {
                    >tr {
                        >th {
                            padding: 16px 8px;
                            border-bottom: none;
                        }
                    }
                }
            }
        }

        >.ant-table-content {
            table {
                border-spacing: 0px 10px;

                tr {
                    background: #fff;
                    border-radius: 8px;
                }
            }
        }
    }

    .ant-table-tbody {
        >tr {
            cursor: pointer;

            >td {
                border-bottom: none;

                a {
                    margin: 0 8px;
                }

                span.checkbox {
                    width: 16px;
                    height: 16px;
                    border: 1px solid #eee;
                    border-radius: 4px;
                    background: #fff;
                    display: block;
                    font-size: 12px;
                    text-align: center;
                    line-height: 12px;
                    font-weight: bold;

                    i {
                        display: none;
                    }

                    &.active {
                        border-color: #3171b7;
                        background: #3171b7;

                        i {
                            display: inline;
                        }
                    }
                }

                &:first-child {
                    border-radius: 8px 0 0 8px;
                }

                &:last-child {
                    border-radius: 0 8px 8px 0;
                }
            }

            &:hover {
                td {
                    background: #293249;
                }
            }

            &.selectedRow {
                td {
                    background: #3974b4;
                    color: #fff;

                    a {
                        color: #fff;
                    }
                }
            }
        }
    }

    .ant-table-thead {
        >tr {
            >th {
                background: #fff;
                border-bottom: none;
                font-weight: bold;

                &:first-child {
                    border-radius: 8px 0 0 8px;
                }

                &:last-child {
                    border-radius: 0 8px 8px 0;
                }
            }
        }
    }

    .ant-table-pagination.ant-pagination {
        float: none;
        margin: 16px 0;
        display: block;
        width: 100%;
        text-align: center;
    }
}

.pannel {
    padding: 20px 20px 20px 20px;
    background: #fff;

    .pannel-head {
        font-size: 20px;
        height: 54px;
        margin-bottom: 30px;
        padding-left: 12px;
        color: #333;
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #f1f1f1;

        p {
            margin-bottom: 0;
        }

        span.title {
            line-height: 54px;
            font-weight: bold;
        }

        span.count {
            margin-left: 10px;
            font-size: 16px;
            color: #999999;

            i {
                font-style: normal;
                color: #00a4ff;
            }
        }

        &:before {
            content: "";
            position: absolute;
            left: 0;
            top: 50%;
            width: 2px;
            height: 20px;
            background: #436fff;
            margin-top: -10px;
        }

        button {
            margin-left: 10px;
        }

        .back {
            font-size: 18px;
            margin-right: 10px;
            background: #436FFF;
            border-radius: 15px;
            color: #ffff;
            padding: 1px 20px;
        }
    }

    .pannel-body {
        .pannel-filter {
            display: flex;
            justify-content: space-between;
            margin-bottom: 30px;

            .pannel-filter-left {
                flex-grow: 1;
                margin-right: 10px;
                display: flex;
                justify-content: start;

                >* {
                    margin-right: 10px;
                }
            }

            .pannel-filter-right {
                width: 250px;
            }
        }
    }

}

.form-pannel {
    margin: 10px;
    background: #fff;
    padding: 20px;

    h1 {
        font-size: 18px;
        font-weight: bold;
    }

    label {
        color: #BFBFBF;
    }
}

.pannel-body-table {
    padding-bottom: 20px;

    .ant-table-thead>tr>th {
        padding: 10px 16px;
        background: linear-gradient(0deg, #f3f3f3, #ffffff);
    }

    .ant-table-tbody>tr>td {
        padding: 7px 16px;
        border-bottom: none;
    }

    .ant-table-tbody {
        .ant-table-row {
            &:nth-child(even) {
                td {
                    background: #f8f8f8;
                }
            }

            &.active {
                td {
                    background: rgba(67, 111, 255, 0.25);
                }

            }
        }
    }

    .ant-pagination.ant-table-pagination {
        color: #999;
        font-style: 14px;
        display: flex;
        justify-content: start;
        align-items: center;

        .ant-pagination-total-text {
            height: 26px;
            line-height: 26px;
        }

        .ant-pagination-item {
            border: none;
            min-width: 20px;
            color: #999;
            line-height: 27px;
            height: 26px;

            a {
                color: #999;
            }

            &:focus a,
            &:hover a,
            .ant-pagination-item-active a {
                color: #333;
            }
        }

        .ant-pagination-prev,
        .ant-pagination-next,
        .ant-pagination-prev .ant-pagination-item-link,
        .ant-pagination-next .ant-pagination-item-link {
            border: none;
            min-width: 20px;
            color: #999;
            line-height: 26px;
            height: 26px;
        }

        .ant-pagination-options-size-changer.ant-select .ant-select-selection {
            border: none;
            background: #f1f1f1;
            height: 26px;

            .ant-select-selection__rendered {
                line-height: 26px;
            }
        }

        .ant-pagination-options-quick-jumper {
            height: 26px;
            line-height: 26px;

            input {
                height: 26px;
                border: none;
                background: #f1f1f1;
                text-align: center;
            }
        }
    }
}

.ant-descriptions-item-label {
    font-size: 14px;
    color: #999999;
}

.ant-descriptions-item-content {
    font-size: 14px;
    color: #333;
}

.ant-menu {
    // border-radius: 8px;
    background-color: #3d4866;
    color: #919cb6;

    .ant-menu-inline .ant-menu-item-selected:after {
        opacity: 0;
    }

    >.ant-menu-item {
        color: #919cb6;
        font-size: 18px;
        margin: 0;
        height: 60px;
        line-height: 60px;
    }

    .ant-menu-submenu>.ant-menu {
        background: none;

        .ant-menu-item {
            font-size: 16px;
            margin-bottom: 4px;

            &:hover {
                color: #fff;
                background: #5c657c;
            }

            &.ant-menu-item-selected {
                background: #293249;
                color: #fff;
            }
        }
    }

    .ant-menu-submenu-inline {
        >.ant-menu-submenu-title {
            color: #919cb6;
            font-size: 18px;
            margin: 0;
            height: 60px;
            line-height: 60px;

            .ant-menu-submenu-arrow {
                width: 20px;
                transform: rotate(90deg) translate(4px, 6px);
            }

            .ant-menu-submenu-arrow:before {
                transform: rotate(-45deg) translateX(5px);
                width: 10px;
                height: 1px;
                background: #919cb6;
            }

            .ant-menu-submenu-arrow:after {
                transform: rotate(45deg) translateX(-5px);
                width: 10px;
                height: 1px;
                background: #919cb6;
            }

            &:hover {

                .ant-menu-submenu-arrow:before,
                .ant-menu-submenu-arrow:after {
                    background: #fff;
                }
            }
        }

        &.ant-menu-submenu-open {
            >.ant-menu-submenu-title {
                .ant-menu-submenu-arrow {
                    width: 20px;
                    transform: rotate(0deg) translate(2px, 4px);
                }
            }
        }
    }
}

.tour-form {
    padding: 0 12px;

    .ant-row[nz-row] {
        background: #fff;
        padding: 30px 15px;
        border-radius: 8px;
        margin-bottom: 10px;

        nz-form-label.ant-form-item-label {
            width: 100px;
            line-height: 50px;
            position: relative;
            flex-shrink: 0;

            span {
                position: absolute;
                display: block;
                width: 90%;
                font-size: 12px;
                color: #ccc;
                line-height: normal;
                top: 25px;
                white-space: pre-wrap;
                text-align: left;
            }
        }

        nz-form-item {
            margin-bottom: 0;
        }

        nz-form-control {
            .ant-form-item-control {
                line-height: 50px;

                .ant-tag-checkable:not(.ant-tag-checkable-checked) {
                    background: #eaeaea;
                }

                nz-upload {
                    .ant-upload-list-picture-card {
                        .ant-upload-list-item {
                            width: 160px;
                            height: 120px;
                            overflow: hidden;
                            padding: 0;
                            border: 0;
                        }

                        .ant-upload-list-item-thumbnail {
                            position: absolute;
                            display: block;
                            width: 100%;
                            height: 100%;
                            left: 0;
                            top: 0;
                        }
                    }

                    .ant-upload.ant-upload-select-picture-card {
                        width: 160px;
                        height: 120px;
                    }
                }
            }

            flex-grow: 1;
        }
    }

    .cz {
        margin-top: 20px;

        .submit-btn {
            display: inline-block;
            width: $cz-w;
            height: $cz-h;
            font-size: $cz-btn-font-size;
            line-height: $cz-h;
            background: #4adcaa;
            border-radius: 21px;
            color: #fff;
            text-align: center;
            padding: 0;
            margin-right: 25px;

            &:hover {
                background: darken(#4adcaa, 8%);
            }

            &:active {
                background: darken(#4adcaa, 20%);
            }
        }

        .default-btn {
            display: inline-block;
            width: $cz-w;
            height: $cz-h;
            font-size: $cz-btn-font-size;
            line-height: $cz-h;
            background: #eaeaea;
            border-radius: 21px;
            color: #333;
            text-align: center;
            padding: 0;

            &:hover {
                background: #7c818b52;
            }

            &:active {
                background: #7c818b52;
            }
        }
    }
}
.form-default-pannel{
    .pannel-header{
        height: 80px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: #fff;
        padding:0 30px;
        margin-bottom: 10px;
        .title{
            border-left: 2px solid #436FFF;
            padding-left: 15px;
            font-size: 20px;
            line-height: 20px;
            font-weight: bold;
        }
    }
    .pannel-body{
        background: #fff;
        margin-bottom: 10px;
        padding:20px 30px;
    }
    .form-button{
        padding-bottom: 40px;
        button{
            padding:0 30px;
            margin-right: 25px;
        }
    }
}
.validate-form{
    .form-item{
        display: flex;
        justify-content: space-between;
        margin:20px 0;
        .form-label{
            width: 120px;
            line-height: 30px;
            font-size: 16px;
            text-align: right;
            margin-right: 10px;
            &.required{
                &:before{
                    content: "*";
                    color: red;
                }
            }
        }
        .form-input{
            flex-grow: 1;
        }
    }
}
.tour-detail {
    padding: 30px 12px;
    border-radius: 8px;
    background: #fff;

    .ant-row[nz-row] {
        padding: 5px 15px;

        nz-form-label.ant-form-item-label {
            width: 100px;
            line-height: 50px;
            position: relative;
            flex-shrink: 0;

            >label {
                color: #999999;
            }

            span {
                position: absolute;
                display: block;
                width: 90%;
                font-size: 12px;
                color: #ccc;
                line-height: normal;
                top: 25px;
                white-space: pre-wrap;
                text-align: left;
            }
        }

        nz-form-item {
            margin-bottom: 0;
        }

        nz-form-control {
            nz-form-text {
                line-height: 30px;
                color: #333;
            }

            .ant-form-item-control {
                line-height: 50px;

                .ant-tag-checkable:not(.ant-tag-checkable-checked) {
                    background: #eaeaea;
                }
            }

            flex-grow: 1;
        }
    }

    .cz {
        margin-top: 20px;
        padding: 10px;

        .submit-btn {
            display: inline-block;
            width: 90px;
            height: 30px;
            background: #4adcaa;
            border-radius: 21px;
            color: #fff;
            text-align: center;
            font-size: 18px;
            line-height: 42px;
            padding: 0;
            margin-right: 25px;

            &:hover {
                background: #293249;
            }

            &:active {
                background: #293249;
            }
        }

        .default-btn {
            display: inline-block;
            width: 90px;
            height: 30px;
            background: #eaeaea;
            border-radius: 21px;
            color: #333;
            text-align: center;
            font-size: 18px;
            line-height: 42px;
            padding: 0;

            &:hover {
                background: #293249;
            }

            &:active {
                background: #293249;
            }
        }
    }
}

.cade {
    margin-top: 10px;
    background: #fff;
    text-align: center;

    h1 {
        font-size: 20px;
        padding: 10px;
    }
}